/*
 * Copyright (c) 2015 elion. All Rights Reserved.
 */
package com.guoyu.project.web.admin;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import com.guoyu.project.model.enums.ArticleType;

/**
 * 今日资讯,前端接口NewsController
 *
 * @author: xblibo Sat Jun 06 16:35:06 CST 2015
 * @version 1.0
 */
@Controller
@RequestMapping("admin/project")
public class ProjectController {

    private ArticleType majorType = ArticleType.PROJECT;

    @RequestMapping("index")
    public String index(Model model) {
        return "admin/project/index";
    }

    @RequestMapping("news")
    public String news(Model model) {
        return "admin/project/news";
    }
}